package xan.tm.digital.xantm;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 工程启动类
 *
 */
@SpringBootApplication(scanBasePackages = "xan.tm.digital", exclude = {DataSourceAutoConfiguration.class})
@MapperScan("xan.tm.digital.xantm.mapper")
@EnableAsync
@EnableScheduling
@Slf4j
public class XantmApp {
    public static void main( String[] args ) {
        SpringApplication.run(XantmApp.class, args);
        log.info("-------start successfully-------");
    }
}
